package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_questionnaire_investigation")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class QuestionnaireInvestigationModel {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String realName;//姓名
    private Integer sex;//1男2女

    private Integer age;//年龄

    private Integer nationId;//民族ID,关联config表ID

    private Integer educationId;//学历ID

    private String idCard;//身份证

    private String groupId;//乡镇村组ID,关联config表ID

    private String mobile;//联系电话

    private Integer practiceState;//1务农2务工

    private String practiceAddress;//务工地址

    private Integer workTypeId;//工种

    private Integer wishWork;//是否有务工意愿1有其他无

    private String wishPracticeAddress;//意愿务工地址

    private Integer wishWorkTypeId;//意愿务工工种ID

    private Integer whetherTrain;//是否有培训需求1有其他无

    private Integer trainWorkTypeId;//自愿培训工种ID

    private String certificateName;//已持证名称

    private Integer veteran;//是否退伍军人1是其他不是

    private Integer returnHome;//是否残疾人员

    private String notes;//备注

    private Timestamp crtTime;//创建时间

    private Integer household;//户籍 1城镇2农村

    private Integer employment;//1已就业2未就业

    private String cityAddress;//城镇户口地址
    private Integer graduate;//1高校毕业生其他不是

    private Integer isHelp;//1帮扶其他未帮扶

    private Integer isWork;//1已就业其他未就业

    private Integer isImport;//1导入其他不是

    private String workTime;//就业时间

    @TableField(exist = false)
    private Integer page;
    @TableField(exist = false)
    private Integer limit;

    @TableField(exist = false)
    private String nationText;
    @TableField(exist = false)
    private String educationText;
    @TableField(exist = false)
    private String townshipText;
    @TableField(exist = false)
    private String groupText;
    @TableField(exist = false)
    private String practiceStateText;
    @TableField(exist = false)
    private String wishWorkText;
    @TableField(exist = false)
    private String whetherTrainText;
    @TableField(exist = false)
    private String veteranText;
    @TableField(exist = false)
    private String returnHomeText;
    @TableField(exist = false)
    private String startTime;
    @TableField(exist = false)
    private String endTime;
    @TableField(exist = false)
    private String householdText;
    @TableField(exist = false)
    private String employmentText;
    @TableField(exist = false)
    private String workTypeText;
    @TableField(exist = false)
    private String sexText;
    @TableField(exist = false)
    private String wishWorkTypeText;
    @TableField(exist = false)
    private String trainWorkTypeText;
    @TableField(exist = false)
    private String groups;//乡镇、村、组ID集合

    @TableField(exist = false)
    private Integer userGroupId;
    @TableField(exist = false)
    private String graduateText;//1高校毕业生其他不是

    @TableField(exist = false)
    private Integer count;
    @TableField(exist = false)
    private String name;
    @TableField(exist = false)
    private String birthFromIdCard;
    @TableField(exist = false)
    private String isHelpText;

    @TableField(exist = false)
    private String workGo;

    @TableField(exist = false)
    private String content;
}
